<%@ include file="Common.jsp" %><%!


static final String sFileName = "Header.jsp";
              
%>
<div class="navbar">
<div class="navbar-inner">
  <div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>

<a class="brand" href="Search.jsp" >Effective Navigation</a>

<ul class="nav">

<li ><a href="Search.jsp">Search</a></li>
<li ><a href="BioData.jsp">Bio Database</a></li>
<% if(session.getAttribute("UserRights")!=null)
{%>

 <%if( session.getAttribute("UserRights").equals("3"))
	{%>
	<li ><a href="AdminAddLink.jsp">Add Link</a></li>
<li ><a href="AdminLinks.jsp">Links</a></li>
<li ><a href="AdminAddUser.jsp">Add User</a></li>
<li ><a href="AdminUsers.jsp">Users</a></li>
<li ><a href="AdminAddCategory.jsp">Add Category</a></li>
<li ><a href="AdminCategories.jsp">Categories</a></li>
<li class="nav pull-right"><a href="Login.jsp">Logout</a></li>    
<%
	} 
 else {
	 %>
 <li ><a href="LinkDetails.jsp">Link Details</a></li>
<li ><a href="AddLink.jsp">Add Link</a></li>
<li class="nav pull-right"><a href="Login.jsp">Logout</a></li>    
	 <%
 }
}
else
{
	%>       
	<li ><a href="Login.jsp">Login</a></li>    
	<%} %>
</ul>    

<form class="navbar-search pull-left">
  <input type="text" class="search-query" placeholder="Search">
</form>       
</div>
</div>
</div>

